home *** CD-ROM | disk | FTP | other *** search
- Interrupt Processing Sequence.
-
- -start
- Complete current instruction.
- Interval interrupt ?
- (yes) >pushflags
- (no) NMI ?
- (yes) >pushflags
- (no) INTR ?
- (yes) IF ?
- (1)Acknowledge interrupt.
- Read type code.
- >pushflags
- (0) >tf
- (no)
- -tf
- TF ?
- (1) >pushflags
- (0)
- -next
- Execute next instruction.
- >start
- -pushflags
- Push flags.
- Let TEMP = TF.
- Clear IF & TF.
- Push CS & IP.
- Call interrupt service routine.
- NMI ?
- (yes)
- >pushflags
- (no)
- TEMP ?
- (1)
- >pushflags
- (0)
- Execute interrupt procedure.
- Pop IP & CS.
- Pop flags.
- Resume interrupted procedure.
- >next
-